root="/workspace/varayoc"
cd $root

# clean varayoc
#make clean
#qmake -recursive

# recompilar Shared, DdsWrapper y CommGenerator
make sub-Shared-debug
make sub-DdsWrapper-debug

#kinematics
cd $root
make sub-Kinematics-debug
# Esm
cd $root/Esm
make sub-Esm-ddscomm-debug
# Rms
cd $root
make sub-Rms-debug
# Mass
cd $root/Mass
make sub-Mass-ddscomm-debug
# Shipdata
cd $root/Shipdata
make sub-Shipdata-ddscomm-debug
make sub-Shipdata-lib-debug
# NavigationAids
cd $root/NavigationAid
make sub-NavigationAid-ddscomm-debug
make sub-NavigationAid-lib-debug
# Simulation
cd $root/Simulation
make sub-Simulation-ddscomm-debug
make sub-Simulation-lib-debug
# Vigilance
cd $root/Vigilance
make sub-Vigilance-ddscomm-debug
# Weapons
cd $root/Weapons
make sub-Weapons-ddscomm-debug
make sub-Weapons-lib-debug
# Radar
cd $root/Radar
make sub-Radar-ddscomm-debug
# Tracker
cd $root/Tracker
make sub-Tracker-ddscomm-debug
#Kronos3d
cd $root/Kronos3d
make sub-Kronos3d-ddscomm-debug
make sub-Kronos3d-lib-debug
# ThreatManager
cd $root/ThreatManager
make sub-ThreatManager-ddscomm-debug
make sub-ThreatManager-lib-debug
#  HistoricalRecord
cd $root/HistoricalRecord
make sub-HistoricalRecord-ddscomm-debug
make sub-HistoricalRecord-lib-debug
# Logger
cd $root/Logger
make sub-Logger-lib-debug
# GuiTools-lib
cd $root/Gui
make sub-GuiTools-lib-debug
make sub-GuiNavigationAid-lib-debug
make sub-GuiThreatManager-lib-debug
# NavigationAids-gui-tester
cd $root/NavigationAids/NavigationAids-gui-tester
make debug
